package com.lujieni.springbootmybatis.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lujieni.springbootmybatis.po.PersonDO;

/**
 * @Author：Jie Ni
 * @Date: 2025/6/16 9:15
 * @Description:
 */
public interface IPersonService {
    PersonDO getById(Long id);

    Page<PersonDO> getPage(int current, int size);

    void insert(PersonDO person);

    IPage<PersonDO> selectByAge(IPage<PersonDO> page, String age);
}
